Miles Sound System SDK 7.2a

Digital Audio Streaming Services

Discussion

The Digital Audio Streaming Services allow you to quickly and easily stream an audio file out of a disk file. When streaming, only a small bit of the file is ever in memory at one time.

Digital Audio Streaming Services
AIL_open_stream opens a stream handle based on a supported file (.WAV, Ogg Vorbis, XMA, or MP3, and others).
AIL_close_stream closes a stream handle.
AIL_service_stream services the given stream handle.
AIL_auto_service_stream turns auto-servicing on or off for a stream handle (it's turned on by default).
AIL_start_stream starts playback of the specified stream.
AIL_pause_stream pauses the playback of the specified stream handle.
AIL_stream_sample_handle returns the underlying HSAMPLE associated with a given HSTREAM instance.
AIL_set_stream_loop_count arranges for a stream to be restarted immediately upon completion, for a total of two or more iterations.
AIL_stream_loop_count returns the number of loop iterations remaining for the given stream.
AIL_set_stream_loop_block arranges for a sub-block of a stream to be looped.
AIL_set_stream_position adjusts the playback position of a stream.
AIL_stream_position reports the current playback position of a stream.
AIL_set_stream_ms_position adjusts the playback position of a stream.
AIL_stream_ms_position reports the total length and the current playback position of a stream.
AIL_stream_status returns the status of a given stream handle.
AIL_set_stream_user_data sets a value for one of eight user data entries associated with each stream handle.
AIL_stream_user_data retrieves a value for one of eight user data entries associated with each stream handle.
AIL_stream_info returns information about the given stream handle.
AIL_register_stream_callback arranges for callback service to be provided to an application function immediately upon reaching the end of a stream.
AILSTREAMCB specifies a user-defined digital audio stream callback.

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.